package com.hejx.managecenter;

import com.hejx.managecenter.common.dao.BaseDaoFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
//开启自定义Repository的配置
@EnableJpaRepositories(repositoryFactoryBeanClass = BaseDaoFactoryBean.class)
public class ManagecenterApplication {

	public static void main(String[] args) {
		SpringApplication.run(ManagecenterApplication.class, args);
	}
}
